// 新增字典类型
export interface DictionaryModalItem {
  description?: string;
  dictionaryCode?: string;
  dictionaryName?: string;
  dictionaryTypeId?: string;
  displayOrder: number;
}

// 字典类型
export interface DictionaryTypeItem {
  description: string;
  dictionaryTypeCode: string;
  dictionaryTypeName: string;
  dictionaryTypeId?: string;
  echoMap?: any;
}

export interface DictionaryItem {
  dictionaryName: string;
  dictionaryCode: string;
  description?: string;
  displayOrder?: number;
  dictionaryId?: string;
  dictionaryTypeId?: string;
  echoMap?: any;
  isDefault?: number;
}

export interface DicSearchModel {
  searchText?: string;
  dictionaryTypeId?: string;
}

export interface DicTypeRq {
  dictionaryType: string;
}

export enum DictType {
  FAULT = "FAULT",
  USERSTATE = "USERSTATE",
}
